package 单例模式;

public class SingleObject {

    private SingleObject(){}

    private static SingleObject instance = new SingleObject();

    public static SingleObject getInstance(){
        return instance;
    }
}
